//import axios from '@/core/utils/AxiosRequest'
import axios from 'axios'
export default {
    doLogin() {
        return axios.get('/demo/login?id=10009')
    },
    doLogin2() {
        return axios.get('/demo/login', {params: {id: 2012, name : 'admin'}})
    },
    doSave() {
        return axios.post('/demo/saveData', {id: 99012, name : 'admin Ricky'})
    }
}